#ifndef MANUAL_OPERATION_H
#define MANUAL_OPERATION_H

#include <QDialog>
#include "door_control.h"


namespace Ui {
    class manual_operation;
}

class manual_operation : public QDialog
{
    Q_OBJECT

public:
    explicit manual_operation(QWidget *parent = 0);
    ~manual_operation();
    Ui::manual_operation *ui;
     void entrance();

public slots:
    void back_clicked();

private slots:

    void on_pump_btn_clicked();
    void on_intake_btn_clicked();
    void on_exhaust_btn_clicked();
    void on_air_back_btn_clicked();
    void on_heat_btn_clicked();
    void on_keepTemperature_btn_clicked();
    void timeDone();
    void on_door_operation_btn_clicked();
    void exhaust_timeDone();
    void on_timer_dial_sliderMoved(int position);

private:
   float keep_temperature;
    QTimer* timer;
    QTimer *exhaust_timer;
    bool auto_keep_temperature;
    bool exhaust;
    int constant_temperature_time;
    int count;
};

#endif // MANUAL_OPERATION_H
